home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12237 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.cc.sunysb.edu!usenet
  2. From: gene@calph.physics.sunysb.edu (Eugene Tyurin)
  3. Newsgroups: comp.lang.c,comp.programming
  4. Subject: Re: Assertive or Defensive?
  5. Date: 29 Mar 1996 18:46:25 -0500
  6. Organization: Institute for Theoretical Physics, Stony Brook University
  7. Sender: gene@calph.physics.sunysb.edu
  8. Message-ID: <htlokjqx7y.fsf@calph.physics.sunysb.edu>
  9. References: <4ioggn$3sf@dazzle.east-tenn-st.edu>
  10.     <4itcs2$po3@B1FF.mindspring.com> <31546257.11E1@olympic.net>
  11. NNTP-Posting-Host: calph.physics.sunysb.edu
  12. In-reply-to: "Erik W. Anderson"'s message of Sat, 23 Mar 1996 12:43:03 -0800
  13. X-Newsreader: Gnus v5.0.15
  14.  
  15. >>>>> "Erik" == Erik W Anderson <eanders@olympic.net> writes:
  16.  
  17.     Erik> To follow up on that point, an execellant book to check out
  18.     Erik> is "Writing Solid Code" by Steve MacGuire published by MS
  19.     Erik> Press under ISBN 1-55615-551-4.
  20.  
  21. If this is the same as "Microsoft's Guide to Bug-Free Code" that I
  22. looked at some time ago, I have a *solid* problem with it.
  23.  
  24. Basically, they say: we have 2 versions of code -- development and
  25. production (they call it "slick").  Production version has minimum of
  26. diagnostics, because who cares if a program crashes once in a while
  27. instead of exiting with proper message -- user can always reboot.
  28.  
  29. Last time I used assert was to detect numerical overflow.  I found the
  30. problem and corrected it.  After that assert became redundant.
  31. -- 
  32. Eugene Tyurin - PhD student at ITP, Stony Brook U.
  33. http://www.physics.sunysb.edu/~gene/
  34.